<?php
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//
// DLMan by Shedd Technologies International		  				//
// http://www.dlman.com | info@dlman.com							//
// Copyright 2003 by STI, All rights reserved.						//
// ---------------------------------------------------------------- //
// Usage of this software is governed by the terms of GPL. 	    	//
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//

require_once("../uis.php");
require_once("../config.php");
require_once("../functions.php");
//VIEW LICENSE
//called with lic=LICENSE ID

print sheader();

//pull license data
$sql="SELECT * FROM ".$config->dt['license']." WHERE id='".$lid."'";
$result=mysql_query($sql);

if($result){
	$license=mysql_fetch_array($result);
	?>
	<div align="center"><b><?php print $license['title']; ?></b></div>
	<br>
	<?php print $license['data']; ?>
	<br>
	<?php
}//end success
else{
	print "An error occured in displaying the license.<br>".mysql_error();
}

print $config->copypow;
print footer();
?>
